package com.freewater.cargotracker.infrastructure.persistence.mybatis.mapper;

import com.freewater.cargotracker.infrastructure.persistence.mybatis.dbobject.HandlingEventPO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface HandlingEventMapper {

    int insert(HandlingEventPO handlingEventPO);

    List<HandlingEventPO> findByCargoId(Long cargoId);

    int deleteAll();
}
